#include "printf.h"
#include "console.h"

void kmain(void) {
    clear_screen();

    printf("Hello, RISC-V OS!\n");

    set_color(COLOR_GREEN);
    printf("This is green text\n");
    set_color(COLOR_RED);
    printf("This is red text\n");
    reset_color();

    test_printf_basic();
    test_printf_edge_cases();

    goto_xy(10, 5);
    printf("Position (10,5)");

    clear_screen();
    printf("System initialization complete.\n");

    while (1)
        ;
}
